import request from '../utils/request'

export const loginApi = (data) => request('/login', 'post', data)

export const RegApi = (data) => request('/register', 'post', data)
